﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;


namespace KingRoad.EPM.PersonnelLogEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/1/12 11:34:57
    /// </summary> 
    [Serializable]
    [ModelMap("PROJECT_DESIGN", new string[] { "DESIGN_ID" })]
    public class ProjectDesignInfo : BaseEntity
    {
        public ProjectDesignInfo()
        {

        }
        
        
        private int _designId;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_ID", System.Data.DbType.Int32)]
        public int DESIGN_ID
        {
            get {return _designId;}
            set
            {
                if (object.Equals(this._designId, value) != true)
                {
                    this._designId = value;
                    this.RaisePropertyChanged("DESIGN_ID");
                }
            }
        }
        
        
        private int _designPrjinfoid;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_PRJINFOID", System.Data.DbType.Int32)]
        public int DESIGN_PRJINFOID
        {
            get {return _designPrjinfoid;}
            set
            {
                if (object.Equals(this._designPrjinfoid, value) != true)
                {
                    this._designPrjinfoid = value;
                    this.RaisePropertyChanged("DESIGN_PRJINFOID");
                }
            }
        }
        
        
        private string _designCode;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_CODE", System.Data.DbType.String)]
        public string DESIGN_CODE
        {
            get {return _designCode;}
            set
            {
                if (object.Equals(this._designCode, value) != true)
                {
                    this._designCode = value;
                    this.RaisePropertyChanged("DESIGN_CODE");
                }
            }
        }
        
        
        private string _designName;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_NAME", System.Data.DbType.String)]
        public string DESIGN_NAME
        {
            get {return _designName;}
            set
            {
                if (object.Equals(this._designName, value) != true)
                {
                    this._designName = value;
                    this.RaisePropertyChanged("DESIGN_NAME");
                }
            }
        }
        
        
        private string _designStartposition;
        /// <summary>
        /// 施工标段集合，用“|”进行分割
        /// </summary>
        [ColumnMap("DESIGN_STARTPOSITION", System.Data.DbType.String)]
        public string DESIGN_STARTPOSITION
        {
            get {return _designStartposition;}
            set
            {
                if (object.Equals(this._designStartposition, value) != true)
                {
                    this._designStartposition = value;
                    this.RaisePropertyChanged("DESIGN_STARTPOSITION");
                }
            }
        }
        
        
        private int _designDepartid;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_DEPARTID", System.Data.DbType.Int32)]
        public int DESIGN_DEPARTID
        {
            get {return _designDepartid;}
            set
            {
                if (object.Equals(this._designDepartid, value) != true)
                {
                    this._designDepartid = value;
                    this.RaisePropertyChanged("DESIGN_DEPARTID");
                }
            }
        }
        
        
        private string _designDepartname;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_DEPARTNAME", System.Data.DbType.String)]
        public string DESIGN_DEPARTNAME
        {
            get {return _designDepartname;}
            set
            {
                if (object.Equals(this._designDepartname, value) != true)
                {
                    this._designDepartname = value;
                    this.RaisePropertyChanged("DESIGN_DEPARTNAME");
                }
            }
        }
        
        
        private decimal _designServicepay;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_SERVICEPAY", System.Data.DbType.Decimal)]
        public decimal DESIGN_SERVICEPAY
        {
            get {return _designServicepay;}
            set
            {
                if (object.Equals(this._designServicepay, value) != true)
                {
                    this._designServicepay = value;
                    this.RaisePropertyChanged("DESIGN_SERVICEPAY");
                }
            }
        }
        
        
        private decimal _designBugpay;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_BUGPAY", System.Data.DbType.Decimal)]
        public decimal DESIGN_BUGPAY
        {
            get {return _designBugpay;}
            set
            {
                if (object.Equals(this._designBugpay, value) != true)
                {
                    this._designBugpay = value;
                    this.RaisePropertyChanged("DESIGN_BUGPAY");
                }
            }
        }
        
        
        private string _designEndposition;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_ENDPOSITION", System.Data.DbType.String)]
        public string DESIGN_ENDPOSITION
        {
            get {return _designEndposition;}
            set
            {
                if (object.Equals(this._designEndposition, value) != true)
                {
                    this._designEndposition = value;
                    this.RaisePropertyChanged("DESIGN_ENDPOSITION");
                }
            }
        }
        
        
        private string _designReamrk;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_REAMRK", System.Data.DbType.String)]
        public string DESIGN_REAMRK
        {
            get {return _designReamrk;}
            set
            {
                if (object.Equals(this._designReamrk, value) != true)
                {
                    this._designReamrk = value;
                    this.RaisePropertyChanged("DESIGN_REAMRK");
                }
            }
        }
        
        
        private string _designCreateman;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_CREATEMAN", System.Data.DbType.String)]
        public string DESIGN_CREATEMAN
        {
            get {return _designCreateman;}
            set
            {
                if (object.Equals(this._designCreateman, value) != true)
                {
                    this._designCreateman = value;
                    this.RaisePropertyChanged("DESIGN_CREATEMAN");
                }
            }
        }
        
        
        private DateTime _designCreatedate;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_CREATEDATE", System.Data.DbType.DateTime)]
        public DateTime DESIGN_CREATEDATE
        {
            get {return _designCreatedate;}
            set
            {
                if (object.Equals(this._designCreatedate, value) != true)
                {
                    this._designCreatedate = value;
                    this.RaisePropertyChanged("DESIGN_CREATEDATE");
                }
            }
        }
        
        
        private string _designUpdateman;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_UPDATEMAN", System.Data.DbType.String)]
        public string DESIGN_UPDATEMAN
        {
            get {return _designUpdateman;}
            set
            {
                if (object.Equals(this._designUpdateman, value) != true)
                {
                    this._designUpdateman = value;
                    this.RaisePropertyChanged("DESIGN_UPDATEMAN");
                }
            }
        }
        
        
        private DateTime _designUpdatedate;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_UPDATEDATE", System.Data.DbType.DateTime)]
        public DateTime DESIGN_UPDATEDATE
        {
            get {return _designUpdatedate;}
            set
            {
                if (object.Equals(this._designUpdatedate, value) != true)
                {
                    this._designUpdatedate = value;
                    this.RaisePropertyChanged("DESIGN_UPDATEDATE");
                }
            }
        }
        
        
        private int _designOrder;
        /// <summary>
        /// 
        /// </summary>
        [ColumnMap("DESIGN_ORDER", System.Data.DbType.Int32)]
        public int DESIGN_ORDER
        {
            get {return _designOrder;}
            set
            {
                if (object.Equals(this._designOrder, value) != true)
                {
                    this._designOrder = value;
                    this.RaisePropertyChanged("DESIGN_ORDER");
                }
            }
        }
        
        
    }
}


